var stats = {
    type: "GROUP",
name: "All Requests",
path: "",
pathFormatted: "group_missing-name-b06d1",
stats: {
    "name": "All Requests",
    "numberOfRequests": {
        "total": "68417",
        "ok": "2733",
        "ko": "65684"
    },
    "minResponseTime": {
        "total": "0",
        "ok": "1",
        "ko": "0"
    },
    "maxResponseTime": {
        "total": "60017",
        "ok": "13160",
        "ko": "60017"
    },
    "meanResponseTime": {
        "total": "10708",
        "ok": "4207",
        "ko": "10978"
    },
    "standardDeviation": {
        "total": "20840",
        "ok": "5000",
        "ko": "21202"
    },
    "percentiles1": {
        "total": "83",
        "ok": "7",
        "ko": "86"
    },
    "percentiles2": {
        "total": "8431",
        "ok": "9886",
        "ko": "8176"
    },
    "percentiles3": {
        "total": "60000",
        "ok": "11088",
        "ko": "60000"
    },
    "percentiles4": {
        "total": "60001",
        "ok": "11740",
        "ko": "60001"
    },
    "group1": {
    "name": "t < 800 ms",
    "htmlName": "t < 800 ms",
    "count": 1593,
    "percentage": 2
},
    "group2": {
    "name": "800 ms <= t < 1200 ms",
    "htmlName": "t >= 800 ms <br> t < 1200 ms",
    "count": 0,
    "percentage": 0
},
    "group3": {
    "name": "t >= 1200 ms",
    "htmlName": "t >= 1200 ms",
    "count": 1140,
    "percentage": 2
},
    "group4": {
    "name": "failed",
    "htmlName": "failed",
    "count": 65684,
    "percentage": 96
},
    "meanNumberOfRequestsPerSecond": {
        "total": "273.668",
        "ok": "10.932",
        "ko": "262.736"
    }
},
contents: {
"req_busca-inva-lida-b5618": {
        type: "REQUEST",
        name: "busca inválida",
path: "busca inválida",
pathFormatted: "req_busca-inva-lida-b5618",
stats: {
    "name": "busca inválida",
    "numberOfRequests": {
        "total": "4190",
        "ok": "965",
        "ko": "3225"
    },
    "minResponseTime": {
        "total": "0",
        "ok": "1",
        "ko": "0"
    },
    "maxResponseTime": {
        "total": "15099",
        "ok": "12662",
        "ko": "15099"
    },
    "meanResponseTime": {
        "total": "2234",
        "ok": "3374",
        "ko": "1893"
    },
    "standardDeviation": {
        "total": "3813",
        "ok": "4787",
        "ko": "3396"
    },
    "percentiles1": {
        "total": "13",
        "ok": "5",
        "ko": "28"
    },
    "percentiles2": {
        "total": "3337",
        "ok": "9548",
        "ko": "1575"
    },
    "percentiles3": {
        "total": "10336",
        "ok": "10976",
        "ko": "9574"
    },
    "percentiles4": {
        "total": "11260",
        "ok": "11595",
        "ko": "10706"
    },
    "group1": {
    "name": "t < 800 ms",
    "htmlName": "t < 800 ms",
    "count": 643,
    "percentage": 15
},
    "group2": {
    "name": "800 ms <= t < 1200 ms",
    "htmlName": "t >= 800 ms <br> t < 1200 ms",
    "count": 0,
    "percentage": 0
},
    "group3": {
    "name": "t >= 1200 ms",
    "htmlName": "t >= 1200 ms",
    "count": 322,
    "percentage": 8
},
    "group4": {
    "name": "failed",
    "htmlName": "failed",
    "count": 3225,
    "percentage": 77
},
    "meanNumberOfRequestsPerSecond": {
        "total": "16.76",
        "ok": "3.86",
        "ko": "12.9"
    }
}
    },"req_criac-a-o-ce502": {
        type: "REQUEST",
        name: "criação",
path: "criação",
pathFormatted: "req_criac-a-o-ce502",
stats: {
    "name": "criação",
    "numberOfRequests": {
        "total": "54637",
        "ok": "1768",
        "ko": "52869"
    },
    "minResponseTime": {
        "total": "0",
        "ok": "1",
        "ko": "0"
    },
    "maxResponseTime": {
        "total": "60017",
        "ok": "13160",
        "ko": "60017"
    },
    "meanResponseTime": {
        "total": "10874",
        "ok": "4661",
        "ko": "11082"
    },
    "standardDeviation": {
        "total": "21005",
        "ok": "5055",
        "ko": "21302"
    },
    "percentiles1": {
        "total": "87",
        "ok": "9",
        "ko": "88"
    },
    "percentiles2": {
        "total": "8429",
        "ok": "9990",
        "ko": "8309"
    },
    "percentiles3": {
        "total": "60000",
        "ok": "11113",
        "ko": "60000"
    },
    "percentiles4": {
        "total": "60001",
        "ok": "11754",
        "ko": "60001"
    },
    "group1": {
    "name": "t < 800 ms",
    "htmlName": "t < 800 ms",
    "count": 950,
    "percentage": 2
},
    "group2": {
    "name": "800 ms <= t < 1200 ms",
    "htmlName": "t >= 800 ms <br> t < 1200 ms",
    "count": 0,
    "percentage": 0
},
    "group3": {
    "name": "t >= 1200 ms",
    "htmlName": "t >= 1200 ms",
    "count": 818,
    "percentage": 1
},
    "group4": {
    "name": "failed",
    "htmlName": "failed",
    "count": 52869,
    "percentage": 97
},
    "meanNumberOfRequestsPerSecond": {
        "total": "218.548",
        "ok": "7.072",
        "ko": "211.476"
    }
}
    },"req_busca-va-lida-d7f0d": {
        type: "REQUEST",
        name: "busca válida",
path: "busca válida",
pathFormatted: "req_busca-va-lida-d7f0d",
stats: {
    "name": "busca válida",
    "numberOfRequests": {
        "total": "9590",
        "ok": "0",
        "ko": "9590"
    },
    "minResponseTime": {
        "total": "0",
        "ok": "-",
        "ko": "0"
    },
    "maxResponseTime": {
        "total": "60015",
        "ok": "-",
        "ko": "60015"
    },
    "meanResponseTime": {
        "total": "13461",
        "ok": "-",
        "ko": "13461"
    },
    "standardDeviation": {
        "total": "23221",
        "ok": "-",
        "ko": "23221"
    },
    "percentiles1": {
        "total": "108",
        "ok": "-",
        "ko": "108"
    },
    "percentiles2": {
        "total": "9257",
        "ok": "-",
        "ko": "9257"
    },
    "percentiles3": {
        "total": "60000",
        "ok": "-",
        "ko": "60000"
    },
    "percentiles4": {
        "total": "60001",
        "ok": "-",
        "ko": "60001"
    },
    "group1": {
    "name": "t < 800 ms",
    "htmlName": "t < 800 ms",
    "count": 0,
    "percentage": 0
},
    "group2": {
    "name": "800 ms <= t < 1200 ms",
    "htmlName": "t >= 800 ms <br> t < 1200 ms",
    "count": 0,
    "percentage": 0
},
    "group3": {
    "name": "t >= 1200 ms",
    "htmlName": "t >= 1200 ms",
    "count": 0,
    "percentage": 0
},
    "group4": {
    "name": "failed",
    "htmlName": "failed",
    "count": 9590,
    "percentage": 100
},
    "meanNumberOfRequestsPerSecond": {
        "total": "38.36",
        "ok": "-",
        "ko": "38.36"
    }
}
    }
}

}

function fillStats(stat){
    $("#numberOfRequests").append(stat.numberOfRequests.total);
    $("#numberOfRequestsOK").append(stat.numberOfRequests.ok);
    $("#numberOfRequestsKO").append(stat.numberOfRequests.ko);

    $("#minResponseTime").append(stat.minResponseTime.total);
    $("#minResponseTimeOK").append(stat.minResponseTime.ok);
    $("#minResponseTimeKO").append(stat.minResponseTime.ko);

    $("#maxResponseTime").append(stat.maxResponseTime.total);
    $("#maxResponseTimeOK").append(stat.maxResponseTime.ok);
    $("#maxResponseTimeKO").append(stat.maxResponseTime.ko);

    $("#meanResponseTime").append(stat.meanResponseTime.total);
    $("#meanResponseTimeOK").append(stat.meanResponseTime.ok);
    $("#meanResponseTimeKO").append(stat.meanResponseTime.ko);

    $("#standardDeviation").append(stat.standardDeviation.total);
    $("#standardDeviationOK").append(stat.standardDeviation.ok);
    $("#standardDeviationKO").append(stat.standardDeviation.ko);

    $("#percentiles1").append(stat.percentiles1.total);
    $("#percentiles1OK").append(stat.percentiles1.ok);
    $("#percentiles1KO").append(stat.percentiles1.ko);

    $("#percentiles2").append(stat.percentiles2.total);
    $("#percentiles2OK").append(stat.percentiles2.ok);
    $("#percentiles2KO").append(stat.percentiles2.ko);

    $("#percentiles3").append(stat.percentiles3.total);
    $("#percentiles3OK").append(stat.percentiles3.ok);
    $("#percentiles3KO").append(stat.percentiles3.ko);

    $("#percentiles4").append(stat.percentiles4.total);
    $("#percentiles4OK").append(stat.percentiles4.ok);
    $("#percentiles4KO").append(stat.percentiles4.ko);

    $("#meanNumberOfRequestsPerSecond").append(stat.meanNumberOfRequestsPerSecond.total);
    $("#meanNumberOfRequestsPerSecondOK").append(stat.meanNumberOfRequestsPerSecond.ok);
    $("#meanNumberOfRequestsPerSecondKO").append(stat.meanNumberOfRequestsPerSecond.ko);
}
